package cn.cqvie.dao;

import cn.cqvie.pojo.Employee;
import cn.cqvie.pojo.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EmployeeDao extends BaseMapper<Employee> {

    public List<Role> findRole(Long id);

    Integer updateUserPassword(@Param("username") String username,@Param("password") String password);
}
